package org.erp.procurement.convert;

import org.erp.procurement.entity.MiniOrder;
import org.erp.procurement.entity.bo.MiniOrderQueryBo;
import org.erp.procurement.entity.dto.MiniOrderQueryDto;
import org.erp.procurement.entity.vo.MiniOrderVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

/**
 * 线上小程序订单实体转换
 *
 * @author libin
 * @version 1.0
 * @description: 线上小程序订单实体转换
 * @date 2025/11/5 15:28
 **/
@Mapper(componentModel = "spring")
public interface MiniOrderConvert {

    @Mappings(value = {})
    MiniOrderQueryDto boConvertDto(MiniOrderQueryBo miniOrderBo);

    @Mappings(value = {})
    MiniOrderVo convertVo(MiniOrder miniOrder);
}
